<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@include file="../../../common/taglib.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<%@include file="../../../common/common-css.jsp" %>
<%@include file="../../../common/common-js.jsp" %>
<%@include file="../../../common/init.jsp" %>
<link rel="stylesheet" type="text/css"
	href="${pageContext.servletContext.contextPath }/css/fenyecss.css" />
	<style type="text/css">
	  input{font-size: 12px}
	</style>
</head>
<body>
<div style="height: 100%;overflow-y: auto;">
<form id="fenye" name="fenye" action="${pageContext.servletContext.contextPath }/background/serviceProvider/type/query.html" method="post">
<div class="right" >
        	<div class="volume">
            	<img src="${pageContext.servletContext.contextPath }/images/toleft.png" style="margin:23px 0 0 2px;_margin:23px 0 0 0px;" />
            </div>
        	<div class="rightcon ">
            	<div class="title">
                	您当前的位置：首页 > 服务商管理 > 服务人员列表
                </div>
                <table border="0" cellpadding="0" cellspacing="0" class="table1">
                	<tr>
                    	<td class="odd">类别名：
                        </td>
                        <td class="even"><input type="text" value="${param.name}" name="name" style="height: 20px"/>
                        </td>
                        <td class="odd"  rowspan="2"  >
                        	<div class="button" >
                        	<input type="image" src="${pageContext.servletContext.contextPath }/images/cx.png" width="101" height="46"/>
                        	</div>
                        </td>
                    </tr>
                </table>
					<div class="luke" style="float:right; margin-right:20px;"> <a href="javascript:history.go(-1)" ><img src="${pageContext.servletContext.contextPath }/images/fanhui.png" width="101" height="46"></a></div>
                 <table border="0" cellpadding="0" cellspacing="0" class="table2">
                 	<tr class="title">
                        <td width="20%" align="center">
                        	类别名称
                        </td>
                         <td width="20%" align="center">
                        	上级类别
                        </td>
                        <td  width="40%" align="center">
                        	类别描述
                        </td>
                        <td width="20%" style=" border-right:none;" align="center">
                        	操作
                        </td>
                    </tr>
                   <c:forEach var="serviceType" items="${pageView.records}">
                    <tr class="odd">
                        <td align="center">
                        	${serviceType.name}
                         <td align="center">
                        	${serviceType.typeName}
                        </td>
                        <td  align="center">
                        	${serviceType.description}
                        </td>
                        <td  style=" border-right:none;" align="center">
                        	<%-- <sec:authorize ifAnyGranted="ROLE_sys_res_show">
            	<a href="${pageContext.servletContext.contextPath }/background/serviceProvider/type/getById.html?id=${serviceType.id}&&typeKey=0">
            	详细</a>
            	&nbsp;&nbsp;
				</sec:authorize> --%>
            <sec:authorize ifAnyGranted="ROLE_sys_res_edit">
            <a href="${pageContext.servletContext.contextPath }/background/serviceProvider/type/getById.html?id=${serviceType.id}&&typeKey=1">
                                     编辑
            </a>
            &nbsp; &nbsp;
            </sec:authorize>
            <sec:authorize ifAnyGranted="ROLE_serviceType_delete">
            	<a href="javascript:void(0);" onclick="deleteId('${pageContext.servletContext.contextPath }/background/serviceProvider/type/deleteById.html?id=${serviceType.id}')">
            	删除</a></sec:authorize>
                        </td>
                    </tr>
                    </c:forEach>
                    <tr>
                    <%@include file="../../../common/webfenye.jsp" %>
                    </tr>
                 </table>
                
            </div><!--rightcon-->
        </div>
</form>
</div>
</body>
</html>